package com.barneyx.mshinfoplatform.mapper.admin;

import com.barneyx.mshinfoplatform.entity.admin.AdminUserRoleMapEntity;
import com.barneyx.mshinfoplatform.mapper.MshBaseMapper;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

public interface IAdminUserRoleMapEntityMapper extends MshBaseMapper<AdminUserRoleMapEntity> {

    @Delete("DELETE FROM `msh_infos`.`msh_admin_role_map_list` WHERE  `admin_user_id`=#{userid};")
    long deleteMapInfoByAdminUserId(@Param("userid") String userId);
//    long deleteMapInfoByAdminUserId(String userId);
}
